package com.xjgc.common.config;

import org.glassfish.jersey.server.ResourceConfig;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * restful配置类,bean
 * Created by wxy on 2019/11/5.
 */
@Configuration
public class JerseyConfig {

    @Bean
    public ResourceConfig resourceConfig() {
        ResourceConfig config = new ResourceConfig();
        config.packages(new String[]{"com.xjgc.eip.service"});

        return config;
    }
}
